package com.zstu.lvxiang.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zstu.lvxiang.pojo.Student;
import com.zstu.lvxiang.vo.LoginVo;
import com.zstu.lvxiang.vo.RespBean;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Trafalgar
 * @since 2022-03-16
 */
public interface IStudentService extends IService<Student> {

    RespBean doLogin(LoginVo loginVo, HttpServletResponse response);

    Student getStuByCookie(String session, HttpServletRequest request, HttpServletResponse response);

    RespBean punch(String sno);

}
